CC=gcc
LIBPATH=../../..
CFLAGS=-Wall -g
INCLS=-I$(LIBPATH)/include
LIBS=-L$(LIBPATH)/lib -lsoar_g

bins=errlog

all : $(bins)

$(bins) : % : %.c
	$(CC) $(CFLAGS) $(INCLS) -o $@ $< $(LIBS)
	chmod 744 $@ 

clean :
	rm -fr core* _log $(bins)
